package com.tour.tour.vo;

import com.tour.tour.entity.SpotInfo;
import lombok.Data;

/**
 * @author YounGCY
 * @date 2023-5-16 下午 7:19
 * @description
 */
@Data
public class SpotInfoVO {
    private Long id;
    
    private String title;
    
    private String image;
    
    private String description;
    
    public SpotInfoVO(SpotInfo spotInfo) {
        this.id = spotInfo.getId();
        this.title = spotInfo.getTitle();
        this.image = spotInfo.getImage();
        this.description = spotInfo.getDescription();
    }
}
